/**
 * Copyright � 2012 GestureSoft. ALL RIGHTS RESERVED.
 * This file contains proprietary and GestureSoft CONFIDENTIAL Information.
 * Use, disclosure or reproduction is prohibited.
 * 
 * @fileName AuthenticationEvent.as
 * @creationDate Aug 8, 2012
 * @author 
 * @version 1.0
 */
package com.gesturesoft.imultimax.socialize.events
{
	
	import flash.events.Event;
	
	public class AuthenticationEvent extends Event
	{
		
		public static const AUTHENTICATION_SUCCESS:String = "auhtnetication_success";
		public static const AUTHENTICATION_FAILED:String = "auhtnetication_failed";
		public static const AUTHENTICATION_NTWK_FAILED:String = "auhtnetication_network_failed";
		public static const AUTHENTICATION_CONN_FAILED:String = "auhtnetication_connection_failed";
		public static const AUTHENTICATION_PRIMARY_SUCCESS:String = "auhtnetication_primary_success";
		public static const AUTHENTICATION_PRIMARY_FAILED:String = "auhtnetication_primary_failed";
		
		[Bindable]private var _userInfo:Array;
		
		public function AuthenticationEvent(type:String, user_Info:Array=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			
			super(type, bubbles, cancelable);
			this._userInfo = user_Info;
			
		}
		
		override public function clone():Event
		{
			
			return new AuthenticationEvent(type,userInfo,bubbles,cancelable);
			
		}
		
		public function get userInfo():Array
		{
			
			return this._userInfo;
			
		}
		
	}
	
}